import axios from 'common/js/token/request'


export function newRequest(platFormOrderNo,paypalAccount,orderNo) {
  const data = {
    platFormOrderNo,
    paypalAccount,
  }
  return axios.post('/api/Orders/' + orderNo + '/submission',data).then((res) => {
    return Promise.resolve(res.data)
  })
    .catch(function (error) {
      console.log(error)
    })
}
